home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 5 / Amiga Tools 5.iso / grafik / 3d & render tools / irit / man / man6 / sfromcrvs.6 < prev    next >
Text File  |  1996-07-16  |  991b  |  29 lines

  1. .TH SFROMCRVS
  2.  6 "IRIT Version 6.0" 
  3. .SH NAME
  4. SFROMCRVS
  5.  
  6.  
  7.  
  8.  SurfaceType SFROMCRVS( ListType CrvList, NumericType OtherOrder )
  9.  
  10. Constructs a surface by substituting the curves in CrvList as rows
  11. in a control mesh of a surface. Curves in CrvList are made compatible
  12. by promoting Bezier curves to Bsplines if necessary, and raising degree
  13. and refining as required before substituting the control polygons of the
  14. curves as rows in the mesh. The other direction order is set by
  15. OtherOrder, which cannot be larger than the number of curves.
  16.  
  17. The surface interpolates the first and last curves only.
  18.  
  19. Example:
  20.  
  21.     Crv1 = cbspline( 3,
  22.                      list( ctlpt( E3, 0.0, 0.0, 0.0 ),
  23.                            ctlpt( E3, 1.0, 0.0, 0.0 ),
  24.                            ctlpt( E3, 1.0, 1.0, 0.0 ) ),
  25.                      list( KV_OPEN ) );
  26.     Crv2 = Crv1 * trans( vector( 0.0, 0.0, 1.0 ) );
  27.     Crv3 = Crv2 * trans( vector( 0.0, 1.0, 0.0 ) );
  28.     Srf = SFROMCRVS( list( Crv1, Crv2, Crv3 ), 3 );
  29.